Skip to content

feat: Refactor Anthropic/OpenAI driver, streaming protocols and more#16

Merged
tymondesigns merged 54 commits intomainfrom
feat/anthropic-2
Feb 28, 2026
Merged

feat: Refactor Anthropic/OpenAI driver, streaming protocols and more#16
tymondesigns merged 54 commits intomainfrom
feat/anthropic-2

Conversation

@tymondesigns
Copy link
Copy Markdown
Contributor

@tymondesigns tymondesigns commented Dec 29, 2025

This pull request introduces significant improvements to the project's configuration, dependencies, and developer tooling, with a focus on supporting a modern frontend stack (React, TypeScript, Tailwind), enhancing static analysis and formatting workflows, and updating LLM backend configuration. Below are the most important changes grouped by theme.

Frontend and Tooling Modernization

  • Added a new package.json with React, TypeScript, Tailwind, Vite, and related dependencies, as well as scripts for build, lint, format, and type checking.
  • Introduced a comprehensive eslint.config.js for linting JavaScript/TypeScript and React code, integrating Prettier and React Hooks rules.
  • Added a new resources/css/app.css file with Tailwind CSS, custom variants, themes, and color variables for improved styling and dark mode support.

Static Analysis and Formatting Workflow Enhancements

  • Updated .github/workflows/static-analysis.yml to run Rector and ECS with GitHub-friendly output, replacing the previous format check step.
  • Added export-ignore rules for new frontend and config files in .gitattributes to streamline package exports.
  • Updated .editorconfig to apply 2-space indentation to .tsx and .ts files, aligning with frontend conventions.

LLM Configuration and Dependency Updates

  • Refactored config/cortex.php to update LLM backend configuration, add caching options, reorder providers, and introduce a default streaming protocol setting. [1] [2] [3]
  • Updated composer.json dependencies and scripts to add new packages for JSON repair, caching, YAML front matter, and frontend development, and switched to parallel test execution. [1] [2] [3]

CI/CD and Static Analysis Configuration

  • Added permissions to GitHub workflows for tests and static analysis to enable pull request write access. [1] [2]
  • Changed Dependabot's versioning strategy to "increase-if-necessary" for composer dependencies.

Miscellaneous

  • Removed obsolete instructions for PHPStan fixes and updated exclusions in static analysis config. [1] [2]

@tymondesigns tymondesigns changed the title feat: Refactor Anthropic driver feat: Refactor Anthropic driver and update streaming protocols Jan 11, 2026
@tymondesigns tymondesigns changed the title feat: Refactor Anthropic driver and update streaming protocols feat: Refactor Anthropic/OpenAI driver and streaming protocols Jan 16, 2026
@tymondesigns tymondesigns changed the title feat: Refactor Anthropic/OpenAI driver and streaming protocols feat: Refactor Anthropic/OpenAI driver, streaming protocols and more Jan 27, 2026
@tymondesigns tymondesigns marked this pull request as ready for review February 28, 2026 08:58
@tymondesigns tymondesigns merged commit 05abf54 into main Feb 28, 2026
7 checks passed
@tymondesigns tymondesigns deleted the feat/anthropic-2 branch February 28, 2026 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant